-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stake Deposit w/ Delegation Implementation #5
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, small comments
efbca23
to
f5b85b6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good! I clarified 1 comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great Ben, found 1 or 2 small things
bad5095
to
e63e24d
Compare
Coverage after merging stake-delegation into main will be
Coverage Report
|
This PR sets up the UniStake contract and begins the implementation of the
stake
method. Specifically, it allows a user to call stake defining an amount and a delegatee who should receive the depositor's voting weight. The contract conditionally deploys a surrogate contract for the delegatee and transfers the tokens to it.Intentionally left out of this PR—for the sake of keeping it small and reviewable—is virtually all other mechanics associated with staking, including:
All of this functionality will be implemented in subsequent PRs.